/*
 * Copyright (C) 2021 The Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.oushangfeng.pinneddemo.model;

/**
 * ListItemInfo
 * Data model of Double-line List item
 *
 * @since 2021-04-19
 */
public class SharesModel {
    private String primaryText;
    private String secondaryText;
    private int primaryImageId;
    private int secondaryImageId;

    /**
    * Item data model Constructor
    *
    * @param primaryText Double-Line list item primary text
    * @param secondaryText Double-Line list item secondary text
    * @param primaryImageId Double-Line list item primary image resource ID
    * @param secondaryImageId Double-Line list item secondary image resource ID*
    */
    public SharesModel(String primaryText, String secondaryText, int primaryImageId, int secondaryImageId) {
        this.primaryText = primaryText;
        this.secondaryText = secondaryText;
        this.primaryImageId = primaryImageId;
        this.secondaryImageId = secondaryImageId;
    }

    public String getPrimaryText() {
        return primaryText;
    }

    public String getSecondaryText() {
        return secondaryText;
    }

    public int getPrimaryImageId() {
        return primaryImageId;
    }

    public int getSecondaryImageId() {
        return secondaryImageId;
    }
}
